﻿using System;
namespace Xin478.CSWork.Common
{
    /// <summary>
    /// 实体类WorkCommands 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class WorkCommandInfo
    {
        public WorkCommandInfo()
        { }
        private int _id;
        private int _workid;
        private string _request;
        private bool _isfinished;
        private DateTime? _latesttime;
        private DateTime? _finishtime;
        private int _weight;


        /// <summary>
        /// auto_increment
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int WorkId
        {
            set { _workid = value; }
            get { return _workid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Request
        {
            set { _request = value; }
            get { return _request; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsFinished
        {
            set { _isfinished = value; }
            get { return _isfinished; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? LatestTime
        {
            set { _latesttime = value; }
            get { return _latesttime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? FinishTime
        {
            set { _finishtime = value; }
            get { return _finishtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Weight
        {
            set { _weight = value; }
            get { return _weight; }
        }

    }
}

